package factory.impl;

import factory.GUIFactory;
import service.Button;
import service.CheckBox;
import service.TextField;
import service.impl.MacButton;
import service.impl.MacCheckBox;
import service.impl.MacTextField;

/**
 * Mac风格GUI工厂 - 具体工厂2
 * 创建Mac风格的一系列UI组件
 */
public class MacGUIFactory implements GUIFactory {
    
    @Override
    public Button createButton() {
        return new MacButton();
    }
    
    @Override
    public TextField createTextField() {
        return new MacTextField();
    }
    
    @Override
    public CheckBox createCheckBox() {
        return new MacCheckBox();
    }
    
    @Override
    public String getDialogStyle() {
        return "Mac风格对话框 - 圆角边框，毛玻璃效果";
    }
}